package com.bobo.demo;

import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import java.util.List;

public interface GroupRepository extends CrudRepository<Groupx, Integer> {
    
}

//@RepositoryRestResource(collectionResourceRel = "groupx", path = "groupx")
//public interface GroupRepository extends PagingAndSortingRepository<Groupx, Integer> {
//    List<Groupx> findByName(@Param("name") String name);
//}
